package com.gimi.cloud.bbp.commonService.ueditor;
import com.baidu.ueditor.define.State;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UeditorUpload {

	/**
	 * 图片上传操作
	 * @param requst
	 * @param actionType
	 * @param conf
	 * @return
	 */
	State uploadImage(HttpServletRequest requst, String actionType, Map<String, Object> conf);

	/**
	 * 截图操作
	 * @param requst
	 * @param actionType
	 * @param conf
	 * @return
	 */
	State catchImage(HttpServletRequest requst, String actionType, Map<String, Object> conf);

	/**
	 * 获取文件目录操作
	 * @param requst
	 * @param actionType
	 * @param conf
	 * @return
	 */
	State listImage(HttpServletRequest requst, String actionType, Map<String, Object> conf);
}
